package com.droidclaimsurveyor.helper.service;

import android.content.Context;

import com.droidclaimsurveyor.helper.asyntask.*;

public class DroidClaimWebService<P, R> extends RestfulWebService<P, R> {	
	private static final String DROIDCLAIM_URL = "http://202.21.149.53/DroidClaim/DroidClaimBL.svc/";
//	private static final String DROIDCLAIM_URL = "http://192.168.1.37/DroidClaim/DroidClaimBL.svc/";

	public DroidClaimWebService(Context context, String progressLabel) {
		if(!progressLabel.isEmpty())
		{
			IProgressTracker tracker = new SpinnerTracker(context, progressLabel);
			setProgressTracker(tracker);
		}
		setServiceUrl(DROIDCLAIM_URL);
	}
}